package com.xzst.jacksonxml.model;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.*;

/**
 * @Author:liukexin
 * @DATE:2019-06-19 11:38
 */
@Getter
@Setter
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "FieldCondition")
public class FieldCondition {

    @JacksonXmlProperty(localName = "LogicCaculation")
    private String logicCaculation;

    @JacksonXmlProperty(localName = "LeftBracket")
    private String leftBracket;

    @JacksonXmlProperty(localName = "LeftValue")
    private String leftValue;

    @JacksonXmlProperty(localName = "ConditionCalculation")
    private String conditionCalculation;

    @JacksonXmlProperty(localName = "RightValue")
    private String rightValue;

    @JacksonXmlProperty(localName = "RightBracket")
    private String rightBracket;
}
